home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / Pyramid / Source / SpatialView.h < prev    next >
Text File  |  1993-09-15  |  999b  |  55 lines

  1. /*    SpatialView.h - Display 3D image
  2.  *    Copyright (C) 1993 Corona Design, Inc. All rights reserved.
  3.  *
  4.  *    Abstract
  5.  *        Manages the dynamic display of a 3D scene.
  6.  *
  7.  *    RCS path: 
  8.  *        $Source: /Users/pkron/Projects/voxel/Pyramid/RCS/SpatialView.h,v $
  9.  *    Modified: $Date: 93/09/15 12:35:15 $ by $Author: pkron $
  10.  *    Current State: $State: Exp $ locked by $Locker:  $
  11.  */
  12.  
  13. #import <appkit/appkit.h>
  14. #import    "standard.h"
  15. #import    "perspect.h"
  16.  
  17. @interface SpatialView: View
  18.     {
  19.     id        showVanishingPoints;
  20.     id        showMoon;
  21.     id        transformController;
  22.     id        model;
  23.  
  24.     NXRect    clip;
  25.     MATRIX    transform;
  26.     POINT    moon;
  27.     }
  28.  
  29. - changePerspective:  sender;
  30.  
  31. - drawMoon: (NXRect *)moonClip;
  32. - useModel: anObject;
  33.  
  34. @end
  35.  
  36.                                 // basic protocol for models
  37. @interface    SpatialModel : Object
  38.     {
  39.     }
  40.     
  41. - drawModel: (MATRIX)transform : (NXRect *)clip;
  42. - drawVanishingPoints: (MATRIX)transform : (NXRect *)clip;
  43.  
  44.  
  45. @end
  46.  
  47. #ifdef    _LOG
  48. /*
  49.  *    $Log:    SpatialView.h,v $
  50.  * Revision 1.1  93/09/15  12:35:15  pkron
  51.  * Created.
  52.  * 
  53.  */
  54. #endif        
  55.